﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#if DOT_NET
using Microsoft.VisualStudio.TestTools.UnitTesting;
#else
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#endif
using StyleMVVM.UnitTests.TestClasses.SimpleObjects;

namespace StyleMVVM.UnitTests.DependencyInjection
{
	[TestClass]
	public class ImportPropertyTests : BaseTestClass
	{
		[TestMethod]
		public void ImportTest()
		{
			ImportPropertyClass propertyClass = Container.Locate("ImportPropertyClass") as ImportPropertyClass;

			Assert.IsNotNull(propertyClass);
			Assert.IsNotNull(propertyClass.ExportClass);
			Assert.IsNotNull(propertyClass.TestInterface);
			Assert.IsNull(propertyClass.DummyInterface);
		}
	}
}